//
//  MeatBuyListUI.h
//  PigMarket
//
//  Created by 张敬 on 2019/7/25.
//  Copyright © 2019年 pigmarket.oc. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BuyMeatModel.h"


NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, MeatBuyListUILayoutType){
   
    MeatBuyListUILayoutType_Vertical,  //竖
    MeatBuyListUILayoutType_Horizontal //横
};


/**
 MeatBuyListUIComponent
 */
@interface MeatBuyListUIComponent : NSObject

/**
 店铺Icon
 */
@property (nonatomic, strong) UIImageView *shopIcon;


/**
 店铺名称
 */
@property (nonatomic, strong) UILabel *shopNameLab;


/**
 店铺内容
 */
@property (nonatomic, strong) UILabel *shopContentLab;


/**
 店铺销量
 */
@property (nonatomic, strong) UILabel *shopSalesLab;


/**
 评分
 */
@property (nonatomic, strong) UILabel *scoreLab;


/**
 灰色星
 */
@property (nonatomic, strong) UIView *grayView;


/**
 
 黄色星
 */
@property (nonatomic, strong) UIView *yellowView;


/**
 分数
 */
@property (nonatomic, assign) CGFloat scoreNum;


/**
 寄宿View
 */
@property (nonatomic, strong) UIView *view;


/**
 布局Type
 */
@property (nonatomic, assign) MeatBuyListUILayoutType type;


/**
 数据Model
 */
@property (nonatomic, strong) BuyMeatModel *model;


@end

NS_ASSUME_NONNULL_END
